package com.dify.tool.api.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author shl
 * @date 2023/11/30
 * @description 测试响应实体
 */
@Data
@Accessors(chain = true)
@Schema( description = "测试响应实体")
public class TestVO implements Serializable {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "更新人id")
    private Long updateBy;

    @Schema(description = "是否删除")
    private Long delFlag;
}